#include"Heap.h"
void Print(int* arr,int n)
{
	for (int i = 0; i < n; i++)
	{
		printf("%d ",arr[i]);
	}
}
int main()
{
	int arr[] = {8,5,6,9,4,7,2,1,3};
	HPadjust(arr, sizeof(arr) / sizeof(int));
	Print(arr, sizeof(arr)/sizeof(int));
	return 0;
}